xen: arm: always omit guest user stack in vcpu_show_execution_state
authorIan Campbell <ian.campbell@citrix.com>
Mon, 30 Mar 2015 11:12:35 +0000 (12:12 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 31 Mar 2015 08:42:53 +0000 (09:42 +0100)
commitceb7d6b66de21810a837389911eb2f40c1ca6222
tree14cac68b4a54f477bc38984d43996edb9d96b231
parent650ed2cef3284bfa6918924bc6a7ac8662ce2807
xen: arm: always omit guest user stack in vcpu_show_execution_state

Using !usr_mode(regs) only catches arm32 usr mode and not arm64 user
mode, switch to psr_mode_is_user instead.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/traps.c